from django.urls import path, re_path

from . import views

urlpatterns = [
    path("", views.CartAPIViewSet.as_view({
        "post": "add_cart",
        "get": "get_cart",
        "put": "change_selected_staus",
        "delete": "delete_cart",
        "patch": 'change_expire'
    })),
    path("selected/", views.CartAPIViewSet.as_view({"get": "get_select_course"}))

]
